home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_07_07
/
v7n7032a.txt
< prev
next >
Wrap
Text File
|
1989-09-03
|
508b
|
29 lines
Listing 2
original string...
35A0:0053 -> abcdefghijklmnopqrs
sub-string to be searched...
35A6:0000 -> nopqrs
character to be found? a
calling strrchr...
35A6:0006 ->
35A6:0005 -> s
35A6:0004 -> rs
35A6:0003 -> qrs
35A6:0002 -> pqrs
35A6:0001 -> opqrs
35A6:0000 -> nopqrs
35A6:FFFF -> nopqrs
35A6:FFFE -> tnopqrs
35A6:FFFD ->
.
.
.
35A6:FBE2 ->
35A6:FBE1 -> k
35A6:FBE0 -> ak
value returned by strrchr...
35A6:FBE0 -> ak